import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './assets/_init.scss'

const app = createApp(App)

import moment from 'moment'
app.config.globalProperties.$filters = {
    time_format(val: string | number, type: string = 'YYYY-MM-DD hh:mm'): string {
        return moment(val).format(type)
    }
}
app.use(store).use(router).mount('#app')

// createApp(App).use(store).use(router).mount('#app')
